--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit eef9872b71657865d45d7dd7b019268d2dc87387
Parents : 1e5564c
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-07T19:51:59-06:00
feat(tests): add Italian localization tests
- Included Italian locale support in the i18n localization tests.
- Updated test suite to validate the new Italian translations alongside existing German and Russian locales.
Changes
Diff
diff --git a/tests/frontend/i18n.test.js b/tests/frontend/i18n.test.js
index 24522d00..f8090837 100644
--- a/tests/frontend/i18n.test.js
+++ b/tests/frontend/i18n.test.js
@@ -2,6 +2,7 @@ import { describe, it, expect } from "vitest";
import en from "../../meshchatx/src/frontend/locales/en.json";
import de from "../../meshchatx/src/frontend/locales/de.json";
import ru from "../../meshchatx/src/frontend/locales/ru.json";
+import itLocale from "../../meshchatx/src/frontend/locales/it.json";
import fs from "fs";
import path from "path";
@@ -21,6 +22,7 @@ describe("i18n Localization Tests", () => {
const locales = [
{ name: "German", data: de, keys: getKeys(de) },
{ name: "Russian", data: ru, keys: getKeys(ru) },
+ { name: "Italian", data: itLocale, keys: getKeys(itLocale) },
];
locales.forEach((locale) => {
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────